{% extends "core/base.html" %}

{% block title %}{{ title|default:'Missuor' }}{% endblock %}

{% block header %}
<div id="header">
    <div class="header_content">
        <a class="logo" href="/" title="home"></a>
        <div class="header_nav">
            <ul>
                <li title="首页"><a href="/">首页</a></li>
                <li title="随笔"><a href="/blog/">随笔</a></li>
                <li title="文章"><a href="#">文章</a></li>
                {% if not user %}
                <li title="登录"><a href="#">登录</a></li>
                {% else %}
                <li title="订阅"><a href="#">订阅</a></li>
                <li title="管理"><a href="#">管理</a></li>
                <li><a  id="user" href="#"><span class="user-placeholder">{{ user }}</span></a>
                    <ul id="user-details" style="display: none;">
                        <li id="usercenter">个人中心</li>
                        <li id="account">帐号设置</li>
                        <li id="logout">退出</li>
                    </ul>
                </li>
                {% endif %}
            </ul>
        </div>
    </div>
</div>
{% endblock %}

{% block content %}
<div id="content">

</div>
{% endblock %}
